using System;

namespace Framework.Extensions
{
    public static class EnumExtensions
    {
        public static T Parse<T>(this string source)
        {
            return (T) Enum.Parse(typeof (T), source);
        }
    }
}